﻿using System;
using System.Windows.Forms;

namespace ChholConfig.UserSerial {
	public class CreateRemoteFormEventArgs: EventArgs {
		public CreateRemoteFormEventArgs(NodesSerialportForm created_form, ushort addr) {
			Created_form = created_form ?? throw new ArgumentNullException(nameof(created_form));
			Addr = addr;
		}

		public NodesSerialportForm Created_form {get; set;}
		public ushort Addr { get; set; }

	}
}